﻿using System;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace CHomeWeather
{
    public class MatchConfiguration
    {
        /// <summary>
        /// Gets or set the match pattern.
        /// </summary>
        public string Pattern { get; set; }

        /// <summary>
        /// Gets or set the replacement configurations.
        /// </summary>
        [XmlElement("Replacement")]
        public Collection<Replacement> Replacements { get; set; }
    }
}
